<?php

declare(strict_types=1);

namespace App\Model;

use Hyperf\DbConnection\Model\Model;

/**
 * @property int $id 
 * @property int $uid 
 * @property int $p_uid 
 * @property string $source 
 * @property string $orderid 
 * @property string $ext_orderid 
 * @property string $title 
 * @property int $product_id 
 * @property string $product_code 
 * @property string $goods_code 
 * @property string $goods_name 
 * @property int $goods_id 
 * @property string $goods_sku 
 * @property string $realname 
 * @property string $idcard 
 * @property int $status 
 * @property string $province 
 * @property string $city 
 * @property string $county 
 * @property string $street 
 * @property string $recipient 
 * @property string $recipientmobile 
 * @property string $idcard_face 
 * @property string $idcard_back 
 * @property string $idcard_hand 
 * @property int $idcard_is_upload 
 * @property int $dt_update 
 * @property int $dt_add 
 * @property int $dt_user 
 * @property string $phone_number 
 * @property string $postname 
 * @property string $postnumber 
 * @property string $expressman 
 * @property string $expressman_mobile 
 * @property string $iccid 
 * @property int $refund_status 
 * @property int $active_status 
 * @property int $dt_active 
 * @property string $remark 
 * @property int $recharge_amount 
 * @property int $dt_recharge 
 * @property int $sync_status 
 * @property int $pdd_id 
 * @property int $ks_id 
 * @property int $pdd_delivery 
 * @property string $header 
 * @property string $request 
 * @property string $response 
 * @property string $api_key 
 * @property string $api_secret 
 * @property string $callback_url 
 * @property int $notify_status 
 * @property int $notify_nums 
 * @property string $history_goods_sku 
 * @property int $is_change 
 * @property string $transferId 
 * @property string $change_log 
 * @property int $is_export 
 * @property string $local_remark 
 * @property int $change_time 
 * @property string $phone_status 
 * @property string $view_idcard_ids 
 * @property string $gth_orderid 
 * @property int $is_review 
 * @property int $is_refund 
 * @property int $op_user_id 
 * @property int $dy_mini_id 
 * @property int $is_sub_order 
 * @property int $origin_order_id 
 * @property int $sync 
 */
class Order extends Model
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'orders';

    public bool $timestamps = false;
    /**
     * The attributes that are mass assignable.
     */
    // protected array $fillable = [];
    protected array $guarded = ['id'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'uid' => 'integer', 'p_uid' => 'integer', 'product_id' => 'integer', 'goods_id' => 'integer', 'status' => 'integer', 'idcard_is_upload' => 'integer', 'dt_update' => 'integer', 'dt_add' => 'integer', 'dt_user' => 'integer', 'refund_status' => 'integer', 'active_status' => 'integer', 'dt_active' => 'integer', 'recharge_amount' => 'integer', 'dt_recharge' => 'integer', 'sync_status' => 'integer', 'pdd_id' => 'integer', 'ks_id' => 'integer', 'pdd_delivery' => 'integer', 'notify_status' => 'integer', 'notify_nums' => 'integer', 'is_change' => 'integer', 'is_export' => 'integer', 'change_time' => 'integer', 'is_review' => 'integer', 'is_refund' => 'integer', 'op_user_id' => 'integer', 'dy_mini_id' => 'integer', 'is_sub_order' => 'integer', 'origin_order_id' => 'integer', 'sync' => 'integer'];
}
